package com.example.md.mddemo.java8.stream;

import lombok.Data;

/**
 * Copyright © 2018年 mddemo. All rights reserved.
 *
 * @author 临江仙 hzqiuxm@163.com
 * 水果类
 * @date 2018/12/1 11:00
 * @Since 1.0.0
 */
@Data
public class Fruit {

    private final String name;
    private final double price;

    public Fruit(String name, double price) {
        this.name = name;
        this.price = price;
    }


}
